import Vue from 'vue'
import 'mint-ui/lib/style.css'
import './assets/mintbase.css'
import VueRouter from 'vue-router'
import router from './router'
import App from './App.vue'
import MintUI from 'mint-ui'
import VueResource  from 'vue-resource'

Vue.use(MintUI)
Vue.use(VueRouter)
Vue.use(VueResource)

new Vue({
  router,//router:router
  render: h => h(App),
}).$mount('#app');
Vue.http.options.emulateJSON = true;

//Vue.http.options.xhr = { withCredentials: true }
